﻿@model Shopping_cart.Models.Product

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Product</legend>

    <@*div class="display-label">IsSelected</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsSelected)
    </div>*@

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">Price</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Price)
    </div>

    <@*div class="display-label">Count</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Count)
    </div>*@
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
